<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>demo-1</title>
</head>
<body>
<h1>demo-1</h1>
<h2>${name }</h2>
<c:forEach items="${list }" var="item">
${item } | 
</c:forEach>
</body>
</html>